<?php
$access_level = 0;
$script = 'survey';
require_once '../../controller.php';
require_once '../../classes/Survey.php';

if(isset($_REQUEST['sid'])){
	$survey_id = $_REQUEST['sid'];

   $s = new Survey();
   $survey = $s->getSurvey($survey_id);

}
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>eTAT| End Survey</title>
<link href='../templates/template1.css' rel='stylesheet' type='text/css'></link>
</head>
<body>
<div id="display-survey">
<?php 
echo "<h1 align='center'>".$survey['title']."</h1>";
echo "<h1 align='center'>Survey Submitted</h1>";
echo "<p align ='center'>".$survey['confirmation_message']."</p>";

?>

</div>
</body>
</html>